package org.hxyjs.dao;

import org.hxyjs.entity.OrderForm;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface OrderFormDao {
    public List<OrderForm>  getAllOrderForms()  throws Exception;
    public List<OrderForm> getOrderFormByPage(PageInfo pageInfo);
    public OrderForm getOrderFormByUrno(String urno) throws Exception;
    //增删改的返回值都是整数
    Integer deleteOrderFormByUrno(String urno)  throws Exception;
    Integer updateOrderFormByUrno(OrderForm orderFormt)  throws Exception;
    Integer addOrderForm(OrderForm orderForm)  throws Exception;
    public String initId(String urnobegin) throws Exception;

//    OrderForm getOrderFormByUrno(String urno) throws Exception;
}